<?php

namespace plugin\admin\app\model;

use plugin\admin\app\model\Base;

/**
 * @property integer $id (主键)
 * @property integer $user_id 用户ID
 * @property integer $type 1分享加速，2团队加速
 * @property integer $rate 速率
 * @property string $amount 加速释放金额
 * @property string $remark 备注
 * @property string $created_time 释放时间
 */
class FreezeIntegralReleaseLog extends Base
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'wa_freeze_integral_release_logs';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $primaryKey = 'id';
    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;

    const SHARE = 1;

    const TEAM = 2;

    const BORROW = 3;

    const TYPE_TEXT = [
        self::SHARE => '分享加速',
        self::TEAM => '团队加速',
        self::BORROW => '累计加速',
    ];
    
    
}
